package com.xujiakai.car.maintain.infrastructure.mapper;

import com.xujiakai.car.maintain.domain.dto.QualityinspecDTO;
import com.xujiakai.car.maintain.userinterface.views.QualityView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QualityinspecMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(QualityinspecDTO record);

    int insertSelective(QualityinspecDTO record);

    QualityinspecDTO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(QualityinspecDTO record);

    int updateByPrimaryKey(QualityinspecDTO record);
    
    /*查询待质检的消息纪录*/
    List<QualityView> selectZhiJian(
    		@Param("keyworld") String keyworld,
    		@Param("starttime") String starttime,
    		@Param("endtime") String endtime,
    		@Param("bustatusid") String bustatusid,
    		@Param("userinfoid") String userinfoid);
}